package com.example.treeutil.datasource;


import com.example.treeutil.layer.NodeType;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 2024/12/13
 * WMS 服务格式的数据对象
 * @author fengyu
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@NodeType(value = NodeType.TYPE.WMS)
public class WMS implements Service {

    private int id;

    // 相当于Geoserver发布的图层信息里的title
    private String name;

    // 服务的调用地址
    private String url;

    // 服务调用参数之一 如 yuhang:bou_py
    private String layerName;

    private String style;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getLayerName() {
        return layerName;
    }

    public void setLayerName(String layerName) {
        this.layerName = layerName;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }
}
